-
Home
-
Media Cloud for Bunny CDN, Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean and more
-
4.2.7
-
Code
-
Classes
- CarbonInterval
Total Complexity |
204 |
Dependencies |
11 |
Dependents |
3 |
Total lines |
1,088 |
Lines of code |
532 |
Logical lines of code |
358 |
Comment lines |
343 |
Methods |
43 |
Properties |
4 |
Methods 43
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
fromString() |
C |
36 |
28 |
73 |
__call() |
B |
46 |
18 |
38 |
__callStatic() |
B |
48 |
18 |
32 |
__construct() |
A |
51 |
16 |
22 |
add() |
A |
50 |
15 |
25 |
total() |
A |
43 |
13 |
46 |
__get() |
A |
51 |
11 |
26 |
__set() |
A |
53 |
8 |
25 |
callMacro() |
S |
55 |
6 |
17 |
instance() |
S |
58 |
6 |
14 |
getDateIntervalSpec() |
S |
53 |
5 |
23 |
make() |
S |
60 |
5 |
14 |
forHumans() |
S |
54 |
4 |
19 |
cascade() |
S |
60 |
4 |
12 |
times() |
S |
60 |
3 |
13 |
getFactor() |
S |
61 |
3 |
12 |
compareDateIntervals() |
S |
62 |
3 |
12 |
getFlipCascadeFactors() |
S |
63 |
3 |
10 |
mixin() |
S |
64 |
2 |
10 |
invert() |
S |
76 |
2 |
4 |
getCascadeFactors() |
S |
64 |
2 |
9 |
standardizeUnit() |
S |
73 |
2 |
4 |
wasCreatedFromDiff() |
S |
78 |
2 |
3 |
getDaysPerWeek() |
S |
78 |
2 |
3 |
getHoursPerDay() |
S |
78 |
2 |
3 |
translator() |
S |
71 |
2 |
6 |
getMinutesPerHours() |
S |
78 |
2 |
3 |
getSecondsPerMinutes() |
S |
78 |
2 |
3 |
toPeriod() |
S |
74 |
1 |
5 |
setCascadeFactors() |
S |
76 |
1 |
4 |
compare() |
S |
79 |
1 |
3 |
spec() |
S |
80 |
1 |
3 |
__toString() |
S |
81 |
1 |
3 |
getLocale() |
S |
80 |
1 |
3 |
create() |
S |
77 |
1 |
3 |
copy() |
S |
73 |
1 |
5 |
hasMacro() |
S |
79 |
1 |
3 |
getTranslator() |
S |
80 |
1 |
3 |
resetMacros() |
S |
80 |
1 |
3 |
macro() |
S |
79 |
1 |
3 |
weeksAndDays() |
S |
75 |
1 |
4 |
setTranslator() |
S |
80 |
1 |
3 |
setLocale() |
S |
79 |
1 |
3 |